package com.neusoft.nepm.controller;

import com.neusoft.nepm.po.GridProvince;
import com.neusoft.nepm.service.IGridProvinceService;
import com.neusoft.nepm.vo.ResponseData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author zouran
 * createDate：2023/6/19  13:24
 */
@RestController
@RequestMapping("/gridProvince")
@Api(tags = "省份管理接口")
public class GridProvinceController {
    @Autowired
    private IGridProvinceService gridProvinceService;
    /****************** neps 工程 ********************/
    //全查询省信息接口
    @RequestMapping("/listGridProvinceAll")
    @ApiOperation(value = "获取省份列表功能")
    public ResponseData<List<GridProvince>> listGridProvinceAll(){
        return gridProvinceService.listGridProvinceAll();
    }
}
